<!--
 * @Description: 伸缩盒-列布局
 * @Author: rendc
 * @Date: 2022-09-23 09:44:10
 * @LastEditors: rendc
 * @LastEditTime: 2022-09-23 09:59:16
-->
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>伸缩盒-列布局</title>
  <style>
    .main{ 
      display: flex;
      height: 200px;
    }
    .item{ 
      flex: 1;
    }
    .one{ 
      background-color: antiquewhite;
    }
    .two{ 
      background-color: bisque;
    }
    .three{ 
      flex: 1 500px;
      background-color: cadetblue;
    }
  </style>
</head>
<body>
  <div class="main">
    <div class="item one">one</div>
    <div class="item two">two</div>
    <div class="item three">three</div>
  </div>
</body>
</html>